package com.hxp.food;

import android.app.Activity;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.widget.TextView;

public class PersonalInfo extends Activity{
	private TextView usename;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.personalinfo);
		SharedPreferences sharedPre = getSharedPreferences("userinfo",
				MODE_PRIVATE);
		String perusername = sharedPre.getString("username", "");
		usename=(TextView) findViewById(R.id.edit_personal_user);
		usename.setText(perusername);
		
	}

}
